package org.example.sdpback.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ProjectName: sdp-back
 * @Package: org.example.sdpback.domain.enums
 * @ClassName: TestCaseTypeEnum
 * @Author: zhuxingyue
 * @Description: 用例请求类型
 * @Date: 2025/7/24 10:50
 * @Version: 1.0
 **/
@Getter
@AllArgsConstructor
public enum TestCaseTypeEnum {
    TEST_CASE_TYPE_GET(0, "GET"),
    TEST_CASE_TYPE_POST(1, "POST"),
    TEST_CASE_TYPE_DELETE(2, "DELETE"),
    TEST_CASE_TYPE_PUT(3, "PUT"),
    TEST_CASE_TYPE_PATCH(4, "PATCH");
    @EnumValue
    private final Integer value;
    @JsonValue
    private final String name;
}
